<style>
    .tree-input {
        width: 200px;
    }
</style>
<!--<m-page-head title="修改产品设计"></m-page-head>-->
<m-project-plan select-tab="summary" type="req">
    <div class="row row-sm panel">
        <div class="col-sm-12 form-horizontal">
            <div class="form-group">
                <label class="col-sm-1 control-label">需求编号：</label>
                <div class="col-sm-3">
                    <label class="control-label">{{reqDetails.reqNo}}</label>
                </div>
                <label class="col-sm-1 control-label">关联项目：</label>
                <div class="col-sm-4">
                    <m-ui-select prompt="请选择项目计划"
                                 itme-list="projectPlanList"
                                 selected-item="projectPlanItem"
                                 select-item-fun="selectProjectPlanItem(item)">
                    </m-ui-select>
                </div>
            </div>
            <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
            <div class="form-group">
                <label class="col-sm-1 control-label" for="req-title">标题：</label>
                <div class="col-sm-8">
                    <input id="req-title" type="text" class="form-control form-req-name" ng-model="reqDetails.reqName">
                </div>
            </div>
            <!-- <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
            <div class="form-group">
                <label class="col-sm-1 control-label">优先级：</label>
                <div class="col-sm-10">
                    <m-ui-select prompt="请选择优先级"
                                 itme-list="cLevel"
                                 selected-item="levelItem"
                                 select-item-fun="selectlevelItem(item)">
                    </m-ui-select>
                </div>
            </div> -->
            <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
            <div class="form-group">
                <label class="col-sm-1 control-label" for="req-desc">描述：</label>
                <div class="col-sm-8">
                    <m-wysiwyg mhtml="reqDetails.reqDesc" mid="noticePrototype"
                               is-edit="false" change-data="saveBlurData(value)"
                               validate="false"   id="req-desc"></m-wysiwyg>
                    <!--<textarea style="height: 225px;" id="req-desc" class="form-control form-req-desc" ng-model="reqDetails.reqDesc"></textarea>-->
                </div>
            </div>
            <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
            <div class="form-group">
                <label class="col-sm-1 control-label">产品线：</label>
                <div class="col-sm-3">
                    <multi-select-tree  data-input-model="productLine"
                                        multi-select="false"
                                        data-add-item="true"
                                        data-crt-value="{{sltLineItem.name}}"
                                        data-default-label="请选择产品线"
                                        data-callback="sltProductLine(item)"
                                        data-cancel-select="cancelProductLine(item)"
                                        data-select-only-leafs="false">
                    </multi-select-tree>
                </div>
                <label class="col-sm-1 control-label">PDM负责人：</label>
                <div class="col-sm-4">
                    <m-ui-select prompt="请选择PDM负责人"
                                 itme-list="accountList"
                                 selected-item="sltUser"
                                 select-item-fun="selectUserItem(item)">
                    </m-ui-select>
                </div>
            </div>
            <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
            <div class="form-group">
                <label class="col-sm-1 control-label">状态：</label>
                <div class="col-sm-8">
                    <label class="control-label">{{statusName}}</label>
                </div>
            </div>
        </div>
    </div>
</m-project-plan>
<winit-settings btn-list="settings.btnEle"></winit-settings>